@bg: #FFE4C4;
@light: #fdf5e6;
@f: #ffffff;
@font: #8B4726;
* {
    margin: 0;
    padding: 0;
}
html {
    font-size: 62.5%;
    font-family: "微软雅黑";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    width: 100%;
    background: url("bg.jpg");
    background-size: 100%;
}
a,
button,
input {

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
}
li,
ul {
    list-style: none;
}
header {
    max-width: 120rem;
    min-width: 60rem;
    width: 100%;
    height: 9rem;
    background: rgba(255,228,196,0.9);
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 9999;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    .logo {
        width: 6rem;
        height: 6rem;
        border-radius: 3rem;
        margin-top: 1.5rem;
        margin-left: 6rem;
        background: url("logo.png");
        background-size: 100%;
        float: left;
    }
    .search {
        width: 30%;
        height: 3rem;
        float: right;
        margin-top: 3rem;
        margin-right: 2rem;
        input {
            width: 80%;
            height: 100%;
            border: 0;
            float: left;
            border-top-left-radius: 0.5rem;
            border-bottom-left-radius: 0.5rem;
            text-indent: 1rem;
            line-height: 3rem;
            font-size: 2rem;
        }
        button {
            width: 20%;
            height: 100%;
            background: url("search.png") no-repeat;
            background-size: auto 100%;
            background-position: center;
            border: 0.3rem solid #fff;
            float: left;
            border-top-right-radius: 0.5rem;
            border-bottom-right-radius: 0.5rem;
        }
    }
}
#app {
    margin-top: 9rem;
}
.pagebox {
    width: 100%;
    max-width: 110rem;
    min-width: 58rem;
    margin: 9rem auto 0;
}
.index-tap {
    float: left;
    height: 9rem;
    li {
        float: left;
        text-align: center;
        background: rgba(255,250,240,0.9);
        cursor: pointer;
        -webkit-user-select: none;
        color: @font;
        a{
            color: @font;
            text-decoration: none;
        }
        &:hover {
            background: rgba(255,228,196,0.9);
        }
    }
}
.index-show {
    float: left;
    width: 100%;
    max-width: 110rem;
    margin-top: 1rem;
    li {
        background: rgba(255,255,255,0.8);
        height: 10rem;
        float: left;
        position: relative;
        color: @font;
        &:hover {
            background: rgba(255,255,255,0.5);
        }
        .show-pic {
            height: 6rem;
            width: 6rem;
            margin-left: 3rem;
            margin-top: 2rem;
            background: @light;
            float: left;
        }
        .show-border {
            width: 1rem;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            background: @light;
        }
        p {
            width: 60%;
            height: 10rem;
            line-height: 10rem;
            float: left;
            margin-left: 2rem;
            font-size: 2rem;
        }
        span {
            width: 6rem;
            height: 8rem;
            background: url("go.png");
            background-size: 100% 100%;
            position: absolute;
            right: 2rem;
            top: 1rem;
        }
    }
}
.index-pros {
    width: 100%;
    float: left;
    margin-bottom: 10rem;
    margin-top: 1rem;
    background: rgba(255,255,255,0.4);
    li {
        width: 50%;
        margin: 1.5rem auto 0;
        img {
            width: 100%;
            height: 100%;
        }
    }
}
.index-footer {
    position: fixed;
    z-index: 9999;
    background: rgba(255,228,196,0.9);
    color: @font;
    li {
        float: left;
    }
}
@media screen and (max-width: 980px) {
    .index-tap {
        width: 100%;
        min-width: 34rem;
        li {
            font-size: 3rem;
            width: 25%;
            height: 9rem;
            line-height: 9rem;
        }
    }
    .index-show li {
        width: 100%;
        margin-top: 0.5rem;
    }
    .index-footer {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 6rem;
        li {}
    }
}
@media screen and (min-width: 981px) {
    .index-tap {
        width: 50%;
        max-width: 57rem;
        li {
            font-size: 2.4rem;
            margin-top: 1rem;
            height: 7rem;
            width: 24%;
            margin-left: 1%;
            line-height: 7rem;
            border-radius: 0.5rem;
        }
    }
    .index-show li {
        width: 50%;
    }
    .index-footer {
        right: 0;
        bottom: 2rem;
        width: 10rem;
        height: 18rem;
        border-bottom-left-radius: 0.5rem;
        border-top-left-radius: 0.5rem;
        overflow: hidden;
        li {
            height: 5.5rem;
            width: 100%;
            margin-top: 0.3rem;
            font-size: 2rem;
            text-align: center;
            line-height: 5.5rem;
            cursor: pointer;
            -webkit-user-select: none;
            &:hover {
                background: @font;
                color: @bg;
                width: 11rem;
                margin-left: -1rem;
            }
            &:nth-child(1) {
                margin-top: 0.6rem;
            }
        }
    }
}

.swiper-container {
    width: 100%;
    height: 30rem;
    float: left;
}
.swiper-slide {
    text-align: center;
    font-size: 1.8rem;
    background: @f;
    float: left;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
